/**
 * create by hp
 * date 2020/3/7 12:30
 * @type {string[]}
 */

export function sleep(s: any) {
  return new Promise((resolve, reject) => {
    setTimeout(() => {
      resolve()
    }, s * 1000)
  })
}
